package com.yang.springcloud.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class User {
    private int userId;
    private String userName;
    private int userIntegral; //积分
    private int accountBalance;

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getUserIntegral() {
        return userIntegral;
    }

    public void setUserIntegral(int userIntegral) {
        this.userIntegral = userIntegral;
    }

    public int getAccountBalance() {
        return accountBalance;
    }

    public void setAccountBalance(int accountBalance) {
        this.accountBalance = accountBalance;
    }

    public ConsumerGoods getItemsPurchasedList() {
        return itemsPurchasedList;
    }

    public void setItemsPurchasedList(ConsumerGoods itemsPurchasedList) {
        this.itemsPurchasedList = itemsPurchasedList;
    }

    private ConsumerGoods itemsPurchasedList;
}
